package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.place;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class PlacePhysicalStoreListResponse extends SecurityResponse<PlacePhysicalStoreListResponse.Body> {

	public PlacePhysicalStoreListResponse() {
		this.body = new Body();
	}

	public PlacePhysicalStoreListResponse(Integer code, String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public static class Body implements Serializable {

		public List<Item> items;

		public List<Item> getItems() {
			return items;
		}

		public void setItems(List<Item> items) {
			this.items = items;
		}
	}

	public static class Item {

		private Long id;
		private String name;
		private String typeNames;
		private String imgUrl;
		private String province;
		private String city;
		private String cityArea;
		private Date createDate;
		private Long deviceCount;
		private Long onlineDeviceCount;
		private Integer incomeCount;
		private String incomeMoneyStr;
		private Long userCount;
		private Integer roleType;
		private String roleTypeName;

		public Long getId() {
			return id;
		}

		public void setId(Long id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getTypeNames() {
			return typeNames;
		}

		public void setTypeNames(String typeNames) {
			this.typeNames = typeNames;
		}

		public String getImgUrl() {
			return imgUrl;
		}

		public void setImgUrl(String imgUrl) {
			this.imgUrl = imgUrl;
		}

		public String getProvince() {
			return province;
		}

		public void setProvince(String province) {
			this.province = province;
		}

		public String getCity() {
			return city;
		}

		public void setCity(String city) {
			this.city = city;
		}

		public String getCityArea() {
			return cityArea;
		}

		public void setCityArea(String cityArea) {
			this.cityArea = cityArea;
		}

		public Long getDeviceCount() {
			return deviceCount;
		}

		public void setDeviceCount(Long deviceCount) {
			this.deviceCount = deviceCount;
		}

		public Long getOnlineDeviceCount() {
			return onlineDeviceCount;
		}

		public void setOnlineDeviceCount(Long onlineDeviceCount) {
			this.onlineDeviceCount = onlineDeviceCount;
		}

		public Date getCreateDate() {
			return createDate;
		}

		public void setCreateDate(Date createDate) {
			this.createDate = createDate;
		}

		public Integer getIncomeCount() {
			return incomeCount;
		}

		public void setIncomeCount(Integer incomeCount) {
			this.incomeCount = incomeCount;
		}

		public String getIncomeMoneyStr() {
			return incomeMoneyStr;
		}

		public void setIncomeMoneyStr(String incomeMoneyStr) {
			this.incomeMoneyStr = incomeMoneyStr;
		}

		public Long getUserCount() {
			return userCount;
		}

		public void setUserCount(Long userCount) {
			this.userCount = userCount;
		}

		public Integer getRoleType() {
			return roleType;
		}

		public void setRoleType(Integer roleType) {
			this.roleType = roleType;
		}

		public String getRoleTypeName() {
			return roleTypeName;
		}

		public void setRoleTypeName(String roleTypeName) {
			this.roleTypeName = roleTypeName;
		}
	}

}
